<?php
declare(strict_types=1);

namespace app\admin\service;

use app\admin\model\ResourcePushLog as ResourcePushLogModel;

class ResourcePushLogService
{
    /**
     * 统计社群推送记录
     * @param $where
     * @return int
     */
    public static function countResourcePushLog($where)
    {
        return ResourcePushLogModel::countResourcePushLog($where);
    }

    /**
     * 社群推送记录
     * @param $where
     * @return array
     * @throws \think\db\exception\DataNotFoundException
     * @throws \think\db\exception\DbException
     * @throws \think\db\exception\ModelNotFoundException
     */
    public static function getResourcePushLog($where)
    {
        return ResourcePushLogModel::getResourcePushLog($where);
    }


}